package cn.qingyun.gis.modules.youshang.request;

import cn.qingyun.gis.common.Pager;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "友商渠道勘误查询请求对象", description = "友商渠道勘误查询请求对象")
public class YsQueryRequest extends Pager {

    //@NotBlank(message = "勘误工号不能为空")
    @ApiModelProperty(value = "勘误工号")
    private String kwPhone;

    @ApiModelProperty(value = "运营商")
    private String belongOperator;

    @ApiModelProperty(value = "运营状态")
    private String operateState;

    @NotNull(message = "区域权限不能为空")
    @ApiModelProperty(value = "区域权限")
    private String gridType;

    @NotNull(message = "网格编码不能为空")
    @ApiModelProperty(value = "网格编码")
    private String gridId;

    @ApiModelProperty(value = "关键字")
    private String keyword;

    @NotNull(message = "经度不能为空")
    @ApiModelProperty(value = "经度")
    private BigDecimal lon;

    @NotNull(message = "纬度不能为空")
    @ApiModelProperty(value = "纬度")
    private BigDecimal lat;

}
